<seed-content class="gray-background">
  <seed-toolbar-header>
    <seed-toolbar-title>支付结果</seed-toolbar-title>
    <seed-toolbar-menu></seed-toolbar-menu>
  </seed-toolbar-header>
  <div class="payment-result" *ngIf="orderInfo?.status">
    <div class="icon-tips" *ngIf="params['tradeStatus'] == 3 || params['tradeStatus'] == 1 || orderInfo.status == 3 || orderInfo.status == 1">
<!--    <div class="icon-tips" >-->
      <img [src]="imageUtil.iconsPath + 'fail.png'">
      <p>支付失败!</p>
      <p class="download-app-row">如已完成支付,请前往<a (click)="goToOrderDetail()">订单详情</a>中查看最新结果</p>
    </div>
    <div class="icon-tips" *ngIf="params['tradeStatus'] == 2 || orderInfo.status == 2">
      <img [src]="imageUtil.iconsPath + 'pay_success.png'">
      <p>下单成功!</p>
    </div>
    <div class="payment-word">
      <p>卖家名称：<span>{{orderInfo.vendorNickname}}</span></p>
      <p>订单金额：<span>￥{{orderInfo.total | Price}}</span></p>
      <p>订单编号：<span>{{orderInfo.orderNumber}}</span></p>
    </div>
    <div class="payment-detail" (click)="goToOrderDetail()" >
      订单详情
      <span></span>
    </div>
  </div>
</seed-content>
